<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 218 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts218p0{position:absolute;left:106px;top:97px;}
 .ts218p1{position:absolute;left:352px;top:97px;}
 .ts218p3{position:absolute;left:665px;top:97px;}
 .ts218p7{position:absolute;left:106px;top:113px;}
 .ts218p8{position:absolute;left:706px;top:1026px;}
 .ts218p9{position:absolute;left:331px;top:1044px;}
 .ts218p13{position:absolute;left:107px;top:146px;}
 .ts218p15{position:absolute;left:353px;top:146px;}
 .ts218p16{position:absolute;left:353px;top:164px;}
 .ts218p18{position:absolute;left:353px;top:182px;}
 .ts218p19{position:absolute;left:353px;top:201px;}
 .ts218p20{position:absolute;left:353px;top:219px;}
 .ts218p22{position:absolute;left:353px;top:237px;}
 .ts218p23{position:absolute;left:353px;top:256px;}
 .ts218p24{position:absolute;left:353px;top:274px;}
 .ts218p25{position:absolute;left:353px;top:293px;}
 .ts218p26{position:absolute;left:353px;top:311px;}
 .ts218p28{position:absolute;left:353px;top:329px;}
 .ts218p29{position:absolute;left:353px;top:348px;}
 .ts218p30{position:absolute;left:353px;top:366px;}
 .ts218p31{position:absolute;left:353px;top:385px;}
 .ts218p32{position:absolute;left:353px;top:403px;}
 .ts218p34{position:absolute;left:353px;top:421px;}
 .ts218p36{position:absolute;left:353px;top:440px;}
 .ts218p37{position:absolute;left:107px;top:459px;}
 .ts218p39{position:absolute;left:353px;top:459px;}
 .ts218p40{position:absolute;left:353px;top:477px;}
 .ts218p41{position:absolute;left:353px;top:495px;}
 .ts218p42{position:absolute;left:353px;top:514px;}
 .ts218p44{position:absolute;left:353px;top:532px;}
 .ts218p45{position:absolute;left:353px;top:550px;}
 .ts218p46{position:absolute;left:353px;top:569px;}
 .ts218p48{position:absolute;left:353px;top:587px;}
 .ts218p49{position:absolute;left:353px;top:605px;}
 .ts218p50{position:absolute;left:353px;top:624px;}
 .ts218p51{position:absolute;left:353px;top:642px;}
 .ts218p52{position:absolute;left:353px;top:661px;}
 .ts218p53{position:absolute;left:353px;top:679px;}
 .ts218p56{position:absolute;left:353px;top:697px;}
 .ts218p57{position:absolute;left:107px;top:717px;}
 .ts218p59{position:absolute;left:353px;top:717px;}
 .ts218p60{position:absolute;left:353px;top:735px;}
 .ts218p62{position:absolute;left:353px;top:753px;}
 .ts218p63{position:absolute;left:353px;top:771px;}
 .ts218p64{position:absolute;left:353px;top:790px;}
 .ts218p65{position:absolute;left:353px;top:808px;}
 .ts218p67{position:absolute;left:353px;top:827px;}
 .ts218p68{position:absolute;left:353px;top:845px;}
 .ts218p69{position:absolute;left:353px;top:863px;}
 .ts218p71{position:absolute;left:353px;top:882px;}

 /* Font Styles */
 .ft0p218{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p218{font-weight:normal;}
 .ft2p218{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p218{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p218{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p218{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p218{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground218{position:absolute;left:98px;top:457px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index217.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;218 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index219.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground218><img src="./background218.png" width="637" height="598" border="0" alt=""></div>
<div class=ts218p0><span class="ft0p218"> </span></div>
<div class=ts218p1><span class="ft0p218">Gravitybox Schedule Primer<span class="ft1p218"> </span></span></div>
<div class=ts218p3><span class="ft0p218">Page 216&nbsp; </span></div>
<div class=ts218p7><span class="ft2p218"> </span></div>
<div class=ts218p8><span class="ft3p218"> </span></div>
<div class=ts218p9><span class="ft4p218">1998&#45;2004 Gravitybox Software LLC<span class="ft3p218"> </span></span></div>
<div class=ts218p13><span class="ft5p218">BeforeDelete </span></div>
<div class=ts218p15><span class="ft6p218">Event BeforeDelete(Index As Long, </span></div>
<div class=ts218p16><span class="ft6p218">Prompt As String, Cancel As Boolean) </span></div>
<div class=ts218p18><span class="ft5p218"> </span></div>
<div class=ts218p19><span class="ft5p218">BeforeDelete is raised before the removal of a </span></div>
<div class=ts218p20><span class="ft5p218">scheduled item using the DeleteItem method. The </span></div>
<div class=ts218p22><span class="ft5p218">DeleteItem method can be called by the user or in </span></div>
<div class=ts218p23><span class="ft5p218">code. In addition it is called by pressing the &#60;Delete&#62; </span></div>
<div class=ts218p24><span class="ft5p218">key when an appointment is highlighted. The Prompt </span></div>
<div class=ts218p25><span class="ft5p218">parameter is the text to be displayed as a delete </span></div>
<div class=ts218p26><span class="ft5p218">prompt to the user. If you do not wish for a prompt </span></div>
<div class=ts218p28><span class="ft5p218">set this parameter to an empty string. The Boolean </span></div>
<div class=ts218p29><span class="ft5p218">Cancel parameter gives you a chance to cancel the </span></div>
<div class=ts218p30><span class="ft5p218">operation from code. If you set Cancel to true, the </span></div>
<div class=ts218p31><span class="ft5p218">item will not be removed and the AfterDelete event </span></div>
<div class=ts218p32><span class="ft5p218">will not be raised. AllowDelete dictates this </span></div>
<div class=ts218p34><span class="ft5p218">functionality. </span></div>
<div class=ts218p36><span class="ft5p218"> </span></div>
<div class=ts218p37><span class="ft5p218">BeforeDrag </span></div>
<div class=ts218p39><span class="ft6p218">Event BeforeDrag(Index As Long, </span></div>
<div class=ts218p40><span class="ft6p218">InitialDragOperation As </span></div>
<div class=ts218p41><span class="ft6p218">DragOperationConstants, Cancel As </span></div>
<div class=ts218p42><span class="ft6p218">Boolean) </span></div>
<div class=ts218p44><span class="ft5p218"> </span></div>
<div class=ts218p45><span class="ft5p218">This event is raised before a copy or move. When </span></div>
<div class=ts218p46><span class="ft5p218">the user starts to drag an appointment, this event is </span></div>
<div class=ts218p48><span class="ft5p218">raised first and gives you a chance to cancel the </span></div>
<div class=ts218p49><span class="ft5p218">drag by setting Cancel = true. The &#34;Index&#34; parameter </span></div>
<div class=ts218p50><span class="ft5p218">is the index in the ScheduleItems collection of the </span></div>
<div class=ts218p51><span class="ft5p218">appointment being dragged. The </span></div>
<div class=ts218p52><span class="ft5p218">&#34;InitialDragOperation&#34; parameter is the drag </span></div>
<div class=ts218p53><span class="ft5p218">operation that is taking place. </span></div>
<div class=ts218p56><span class="ft5p218"> </span></div>
<div class=ts218p57><span class="ft5p218">BeforeDragFromFile </span></div>
<div class=ts218p59><span class="ft6p218">Event BeforeDragFromFile(ScheduleItem </span></div>
<div class=ts218p60><span class="ft6p218">As CScheduleEl, Cancel As Boolean)<span class="ft5p218"> </span></span></div>
<div class=ts218p62><span class="ft5p218"> </span></div>
<div class=ts218p63><span class="ft5p218">This event is raised after the user drops a schedule </span></div>
<div class=ts218p64><span class="ft5p218">file onto the schedule window. Dragging an </span></div>
<div class=ts218p65><span class="ft5p218">appointment and dropping it outside of the schedule </span></div>
<div class=ts218p67><span class="ft5p218">create the file. This event is raised before the </span></div>
<div class=ts218p68><span class="ft5p218">appointment is added by dragging that saved file </span></div>
<div class=ts218p69><span class="ft5p218">back onto the schedule window. </span></div>
<div class=ts218p71><span class="ft5p218"> </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
